/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 12/13/2010 
           
            */


using System;
using System.Collections.Generic;
using System.Text;


namespace BusinessObject
{
    /// <summary>
    /// This is UserProfile object, it is object of BusinessObject table.
    /// </summary>
    public class UserProfile
    {
        #region fields
        private Guid userId;
        private string name;
        private string address;
        private string phone;
        private int gender;
        private DateTime birthDay;
        private string createdBy;
        private string applicationName;
        private DateTime createdDate;
        private string lastUpdatedBy;
        private DateTime lastUpdatedDate;
        private Paging objPaging;

        private SortOrder objSortOrder;

        private string condition;

        private int toltalRow;


        #endregion fields

        #region constructor
        /// <summary>
        /// Define default constructor for UserProfile Object
        /// </summary>
        public UserProfile()
        {
            this.userId = Guid.Empty;
            this.name = string.Empty;
            this.address = string.Empty;
            this.phone = string.Empty;
            this.gender = int.MinValue;
            this.birthDay = DateTime.MinValue;
            this.createdBy = string.Empty;
            this.createdDate = DateTime.MinValue;
            this.lastUpdatedBy = string.Empty;
            this.lastUpdatedDate = DateTime.MinValue; this.objPaging = new Paging();
            this.objSortOrder = new SortOrder();
            this.condition = string.Empty;
            this.toltalRow = 0;
            this.applicationName = string.Empty;

        }
        #endregion constructor
        #region properties
        /// <summary>
        /// Define UserId Property
        /// </summary>
        public Guid UserId
        {
            get { return this.userId; }
            set { this.userId = value; }
        }
        /// <summary>
        /// Define Name Property
        /// </summary>
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        /// <summary>
        /// Define ApplicationName Property
        /// </summary>
        public string ApplicationName
        {
            get { return this.applicationName; }
            set { this.applicationName = value; }
        }

        /// <summary>
        /// Define Address Property
        /// </summary>
        public string Address
        {
            get { return this.address; }
            set { this.address = value; }
        }
        /// <summary>
        /// Define Phone Property
        /// </summary>
        public string Phone
        {
            get { return this.phone; }
            set { this.phone = value; }
        }
        /// <summary>
        /// Define Gender Property
        /// </summary>
        public int Gender
        {
            get { return this.gender; }
            set { this.gender = value; }
        }
        /// <summary>
        /// Define BirthDay Property
        /// </summary>
        public DateTime BirthDay
        {
            get { return this.birthDay; }
            set { this.birthDay = value; }
        }
        /// <summary>
        /// Define CreatedBy Property
        /// </summary>
        public string CreatedBy
        {
            get { return this.createdBy; }
            set { this.createdBy = value; }
        }
        /// <summary>
        /// Define CreatedDate Property
        /// </summary>
        public DateTime CreatedDate
        {
            get { return this.createdDate; }
            set { this.createdDate = value; }
        }
        /// <summary>
        /// Define LastUpdatedBy Property
        /// </summary>
        public string LastUpdatedBy
        {
            get { return this.lastUpdatedBy; }
            set { this.lastUpdatedBy = value; }
        }
        /// <summary>
        /// Define LastUpdatedDate Property
        /// </summary>
        public DateTime LastUpdatedDate
        {
            get { return this.lastUpdatedDate; }
            set { this.lastUpdatedDate = value; }
        }
        public Paging ObjectPaging
        {
            get { return this.objPaging; }
            set { this.objPaging = value; }
        }
        public SortOrder ObjectSortOrder
        {
            get { return this.objSortOrder; }
            set { this.objSortOrder = value; }
        }
        public string Condition
        {
            get { return this.condition; }
            set { this.condition = value; }
        }
        public int ToltalRow
        {
            get { return this.toltalRow; }
            set { this.toltalRow = value; }
        }

        #endregion properties
    }
}